package com.koo.modules.stock.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-03-16 16:57:08
 */
@Data
@ApiModel("")
@TableName("stock_product_split_detail")
public class StockProductSplitDetailEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long detailId;

    @ColumnWidth(11)
    @ExcelProperty("库存id")
    @ApiModelProperty(value = "库存id")
    private Long stockId;

    @ColumnWidth(11)
    @ExcelProperty("拆零编号")
    @ApiModelProperty(value = "拆零编号")
    private String splitNo;

    @ColumnWidth(11)
    @ExcelProperty("产品id")
    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ColumnWidth(11)
    @ExcelProperty("产品编号")
    @ApiModelProperty(value = "产品编号")
    private String productCode;

    @ColumnWidth(11)
    @ExcelProperty("产品名称")
    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ColumnWidth(11)
    @ExcelProperty("通用名")
    @ApiModelProperty(value = "通用名")
    private String genericName;

    @ColumnWidth(11)
    @ExcelProperty("规格")
    @ApiModelProperty(value = "规格")
    private String standard;

    @ColumnWidth(11)
    @ExcelProperty("单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    @ColumnWidth(11)
    @ExcelProperty("条形码")
    @ApiModelProperty(value = "条形码")
    private String barCode;

    @ColumnWidth(11)
    @ExcelProperty("产地")
    @ApiModelProperty(value = "产地")
    private String producingArea;

    @ColumnWidth(11)
    @ExcelProperty("生产单位")
    @ApiModelProperty(value = "生产单位")
    private String produceFactory;

    @ColumnWidth(11)
    @ExcelProperty("批准文号")
    @ApiModelProperty(value = "批准文号")
    private String approvalNo;

    @ColumnWidth(11)
    @ExcelProperty("剂型")
    @ApiModelProperty(value = "剂型")
    private String dosageForm;

    @ColumnWidth(11)
    @ExcelProperty("批号")
    @ApiModelProperty(value = "批号")
    private String batchNo;

    @ColumnWidth(11)
    @ExcelProperty("生产日期")
    @ApiModelProperty(value = "生产日期")
    private Date produceDate;

    @ColumnWidth(11)
    @ExcelProperty("有效期")
    @ApiModelProperty(value = "有效期")
    private Date expiryDate;

    @ColumnWidth(11)
    @ExcelProperty("采购价格")
    @ApiModelProperty(value = "采购价格")
    private BigDecimal purchasePrice;

    @ColumnWidth(11)
    @ExcelProperty("指导价")
    @ApiModelProperty(value = "指导价")
    private BigDecimal retailPrice;

    @ColumnWidth(11)
    @ExcelProperty("销售价")
    @ApiModelProperty(value = "销售价")
    private BigDecimal stockPrice;

    @ColumnWidth(11)
    @ExcelProperty("会员价")
    @ApiModelProperty(value = "会员价")
    private BigDecimal memberPrice;

    @ColumnWidth(11)
    @ExcelProperty("拆零系数")
    @ApiModelProperty(value = "拆零系数")
    private Long splitNum;

    @ColumnWidth(11)
    @ExcelProperty("拆零后单位")
    @ApiModelProperty(value = "拆零后单位")
    private BigDecimal afterSplitUnit;

    @ColumnWidth(11)
    @ExcelProperty("拆零后售价")
    @ApiModelProperty(value = "拆零后售价")
    private BigDecimal afterSalePrice;

    @ColumnWidth(11)
    @ExcelProperty("拆零后会员价")
    @ApiModelProperty(value = "拆零后会员价")
    private BigDecimal afterMemberPrice;

    @ColumnWidth(11)
    @ExcelProperty("审核状态")
    @ApiModelProperty(value = "审核状态")
    private Integer auditStatus;

    @ColumnWidth(11)
    @ExcelProperty("审核用户id")
    @ApiModelProperty(value = "审核用户id")
    private Long auditUserId;

    @ColumnWidth(11)
    @ExcelProperty("审核用户")
    @ApiModelProperty(value = "审核用户")
    private String auditUser;



}
